package com.probox.common.entity.domain.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.probox.common.core.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商品数据汇总对象 product_count
 *
 *
 * @date 2021-05-28
 */
@Data
@Accessors(chain = true)
@TableName("product_count")
public class ProductCount implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "COUNT_UID", type = IdType.AUTO)
    private Long countUid;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long productUid;
    /**
     * 点击查看数
     */
    @Excel(name = "点击查看数")
    private Long viewNum;
    /**
     * 收藏数
     */
    @Excel(name = "收藏数")
    private Long collectNum;
    /**
     * 评论数
     */
    @Excel(name = "评论数")
    private Long commentNum;
    /**
     * 累计销量
     */
    @Excel(name = "累计销量")
    private Long buyNum;
    /**
     * 分享数
     */
    @Excel(name = "分享数")
    private Long shareNum;
    /**
     * 添加到购物车的次数
     */
    @Excel(name = "添加到购物车的次数")
    private Long addCarNum;
    /**
     * 取消购买的次数
     */
    @Excel(name = "取消购买的次数")
    private Long cancleNum;
    /**
     * 退款数量
     */
    @Excel(name = "退款数量")
    private Long refundNum;
    /**
     * 换货数量
     */
    @Excel(name = "换货数量")
    private Long barterNum;

    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    private Long platformUid;

    /**
     * 取消收藏数
     */
    private Long cancleCollectNum;

    public ProductCount() {
    }


}
